package com.tudouji.project.d3.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 发货地址配置对象 logistic_rule
 * 
 * @author tudouji
 * @date 2023-10-20
 */
public class LogisticRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 物流单号起始位字符 */
    @Excel(name = "物流单号起始位字符")
    private String startwith;

    /** 对应的发货地址 */
    @Excel(name = "对应的发货地址")
    private String sendfrom;

    /** 快递公司 */
    @Excel(name = "快递公司")
    private String logisticcompany;

    /** 状态 1 - 生效 0 - 失效 */
    @Excel(name = "状态 1 - 生效 0 - 失效")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartwith(String startwith) 
    {
        this.startwith = startwith;
    }

    public String getStartwith() 
    {
        return startwith;
    }
    public void setSendfrom(String sendfrom) 
    {
        this.sendfrom = sendfrom;
    }

    public String getSendfrom() 
    {
        return sendfrom;
    }
    public void setLogisticcompany(String logisticcompany) 
    {
        this.logisticcompany = logisticcompany;
    }

    public String getLogisticcompany() 
    {
        return logisticcompany;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startwith", getStartwith())
            .append("sendfrom", getSendfrom())
            .append("logisticcompany", getLogisticcompany())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
